/**
 * Created by dllo on 18/3/30.
 */
public class Question02 {
    public static void main(String[] args) {

         int day = 0;

        for (int i = 10000; i > 0; i = i / 2) {
            day = day + 1;
        }

        System.out.println("10000元需要:" + day + "天花完");

        /* int money = 100000;
        int day =0;
        while (money >1){
            money = money / 2;
            day++;
        }
        System.out.println(day+"天花完" );*/

    }

}

